package de.htw.praxisprojekt.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import de.htw.praxisprojekt.LineAlgo;

public class OptionsScaleAction implements ActionListener{

	private LineAlgo lineAlgo;

	public OptionsScaleAction(LineAlgo lineAlgo){
		this.lineAlgo=lineAlgo;
	}

	public void actionPerformed(ActionEvent arg0){
		lineAlgo.getAlgoData().setScaleLoad(!lineAlgo.getAlgoData().isScaleLoad());
	}
}